/*
 *Copyright © 2015 zhaorongbao
 *招融宝
 *http://zhaorongbao.com
 *All rights reserved.
 */
package com.hanhai.zrb.model.common;

import java.io.Serializable;
import java.util.Date;

public class BaseUser implements Serializable {

	

	/**
	 * 
	 */
	private static final long serialVersionUID = -7312850239053404283L;
	private Long uid;
	private String name;
	private String password;
	private String mobile;
	private String email;
	private String lastLoginIp;
	private String lastLogintype;
	private Date lastLoginTime;
	private Integer loginTimes;
	//private String accountNo;
	private Boolean autoLogin = false;
	private Integer newbie;
	private Integer loginStatus = 1;   //1是正常，2是重登录导致踢下线，3是？ 待功能扩充
	
	public BaseUser() {
	}

	public BaseUser(Long id, String name, String password) {
		this.uid = id;
		this.name = name;
		this.password = password;
	}
	
	

	public Integer getLoginStatus() {
		return loginStatus;
	}

	public void setLoginStatus(Integer loginStatus) {
		this.loginStatus = loginStatus;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long id) {
		this.uid = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobilePhone) {
		this.mobile = mobilePhone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	

	public String getLastLoginIp() {
		return lastLoginIp;
	}

	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}

	public String getLastLogintype() {
		return lastLogintype;
	}

	public void setLastLogintype(String lastLogintype) {
		this.lastLogintype = lastLogintype;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public Integer getLoginTimes() {
		return loginTimes;
	}

	public void setLoginTimes(Integer loginTimes) {
		this.loginTimes = loginTimes;
	}

	public Boolean getAutoLogin() {
		return autoLogin;
	}

	public void setAutoLogin(Boolean autoLogin) {
		this.autoLogin = autoLogin;
	}

	public Integer getNewbie() {
		return newbie;
	}

	public void setNewbie(Integer newbie) {
		this.newbie = newbie;
	}

}
